<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <link href="../lib/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link href="../lib/weui-master/dist/style/weui.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../lib/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../lib/SeedsUI-master/app/scripts/lib/seedsui/seedsui.min.css">
    <link rel="stylesheet" type="text/css" href="../sys/css/foot.css">
    <style>
    body,
    section {
        background-color: #fff;
    }
    
    p {
        margin: 0 0 5px;
    }
    
    section {
        padding-top: 10px;
        box-sizing: border-box;
        width: 100%;
        overflow-y: auto;
    }
    
    .item {
        width: 96%;
        height: 95px;
        margin-left: 2%;
        margin-bottom: 3%;
        /*      background-color: pink;*/
        border-bottom: 1px solid #ddd;
    }
    
    .item p {
        padding: 0px 5px;
        margin: 0;
    }
    
    .item p:nth-child(1) {
        font-size: 16px;
        color: #333;
    }
    
    .item p:nth-child(2) {
        font-size: 14px;
        height: 40px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: #999;
    }
    
    .item p:nth-child(3) {
        font-size: 13px;
        text-align: right;
        color: #888;
        padding-top: 3px;
    }
    
    .item p span {
        width: 40px;
        text-align: left;
        margin-left: 10px;
    }
    
    .owner {
        padding: 0 10px;
    }
    
    .ownerheader {
        height: 60px;
        display: flex;
    }
    
    .ownerheader img {
        width: 50px;
        height: 50px;
        margin-top: 5px;
    }
    
    .ownerheader-right {
        /*        display: inline-block;*/
        height: 50px;
        padding-left: 10px;
    }
    
    .ownername {
        font-size: 18px;
        padding-top: 2px;
        color: #555;
    }
    
    .ownerlogo {
        width: 36px;
        height: 20px;
        border: none;
        border-radius: 2px;
        background-color: #5693F9;
        color: #fff;
        text-align: center;
        line-height: 20px;
    }
    
    .ownertime {
        font-size: 12px;
        color: #666;
        padding-top: 10px;
    }
    
    .ownertitil {
        padding: 5px 0;
        font-size: 19px;
    }
    
    .ownercontent {
        color: #666;
        font-size: 16px;
        padding-bottom: 10px;
    }
   .discuss{
        border-top: 1px solid #ddd;
    }
    .discussbox {
        
        background-color: #F5F7FA;
    }
    
    .discuss {
        display: flex;
    }
    
    .discuss .headimg {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .nicheng {
        color: blue;
    }
    
    .floor>span:nth-child(1) {
        font-size: 15px;
        padding-top: 13px;
    }
    
    .floor p span,
    .time {
        font-size: 12px;
        color: #888;
    }
    
    .discuss-item >.floordiscuss {
        border-top: 1px solid #ddd;
        padding: 5px;
    }
    
    footer {
        height: 50px;
        line-height: 50px;
        background-color: #325AA8;
        padding: 0 10px;
    }
    
    footer input[type="text"] {
        width: 70%;
        margin-bottom: 0;
    }
    
    footer button {
        margin-left: 10px;
        width: 55px;
    }
    </style>
</head>

<body>
    <div class="box">
        <section>
            <div class="owner">
                <div class="ownerheader">
                    <img src="../img/renqi1.png" alt="">
                    <div class="ownerheader-right">
                        <span class="ownername">我是楼主</span>
                        <span class="ownerlogo">楼主</span>
                        <p class="ownertime">2016年12月12日 12：12：12</p>
                    </div>
                </div>
                <div class="ownertitil">杭州哪里的龙井茶正宗啊，求助求</div>
                <div class="ownercontent">
                    杭州哪里的龙井茶正宗啊，杭州哪里的龙井茶正宗啊，杭州哪里的龙井茶正宗啊，求助求助求助，是御牌西湖龙井吗？
                </div>
            </div>
            <div class="discussbox">
                <div class="discuss">
                    <img src="../img/tea3.jpg" alt="" class="headimg">
                    <div class="discuss-item">
                        <div class="floor">
                            <span></span>
                            <!-- <i></i> -->
                            <p><span class="time">1楼 </span> <span class="time">2016-04-09 12：12：12</span></p>
                            <p>我家的买了吗</p>
                        </div>
                        <!-- <div class="floordiscuss">
                            <span class="nicheng"> wo shi nicheng</span>
                            <span class="ownerlogo">楼主</span>:我大部分都是预定的，你是不是来巴里比较玩呢 
                            <span class="time">04-19</span>
                            
                        </div>
                        <div class="floordiscuss">
                            <span class="nicheng"> wo shi nicheng</span>
                                :回复 离开了三等奖：是的 <span class="time">04-19</span>
                            
                        </div> -->
                    </div>
                    
                </div>
                <div class="discuss">
                        <img src="../img/tea1.png" alt="" class="headimg">
                        <div class="discuss-item">
                            <div class="floor">
                                <span>我爱喝茶 </span>
                                <!-- <i></i> -->
                                <p><span class="time">2楼 </span> <span class="time">2016-04-09 12：12：12</span></p>
                                <p>看外观 新茶外观干硬疏松，色泽新鲜；陈茶则紧缩、暗软。
                                </p>
                            </div>
                        </div>
                    </div>
        </section>
        <footer>
            <input type="text" placeholder="回复楼主">
            <button class="btn">发送</button>
        </footer>
        </div>
        <script src="../lib/jquery/jquery-1.11.0.min.js"></script>
        <script src="../lib/vue/vue.js"></script>
        <script src="../sys/js/foot.js"></script>
        <script src="../data/data.json"></script>
        <script>
        $(function() {
            var windowHeight = $(window).height();
            var windowWidth = $(window).width();
            $(".box").height(windowHeight - 52);
            $("section").height(windowHeight - 52 - windowHeight * 0.03);
            $("footer input").width(windowWidth - 100);



            var box = new Vue({
                el: '.box',
                data: {
                    topics

                },
                components: {
                    myFoot
                },
                methods: {
                    choosemune: function(i) {
                        window.location.href = menulist[i];
                    }

                }
            })
            $("footer ul li").removeClass("active");
            $("footer ul li:nth(3)").addClass("active");
        })
        </script>
</body>

</html>
